module teapo.boot { export class BootLayout { container: HTMLDivElement; private _titleDiv: HTMLDivElement; constructor() { this.container = <HTMLDivElement>createElement('div', { position: 'fixed', zIndex: 1000000, left: '0px', top: '0px', right: '0px', bottom: '0px', background: 'white', color: 'black' }); this._titleDiv = <HTMLDivElement>createElement('div', { position: 'fixed', left: '5%', top: '5%', right: '5%', text: 'Loading...' }, this.container); } setTitle(title: string) { setText(this._titleDiv, title); } setProgressRatio(ratio: number) { // TODO: update progress width... } }}